package com.atguigu.eduservice.service;

import com.atguigu.eduservice.entity.EduVideo;
import com.atguigu.eduservice.entity.chapter.VideoVo;
import com.atguigu.eduservice.entity.frontvo.VideoUrlVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author AIR
 * @since 2022-09-20
 */
public interface VideoService extends IService<EduVideo> {

    //修改小节
    void updateVideo(String id,EduVideo eduVideo);

    //1 根据课程id删除小节
    void removeVideoByCourseId(String courseId);

    //根据id删除删除服务器的视频
    Boolean getVideoById(String id,EduVideo eduVideo);

    VideoUrlVo getPlayerAuth(String videoId);
}
